package com.lsht.system.domain.siwei;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lsht.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;
import java.util.List;

/**
 * 点位记录管理对象 siwei_point_details
 *
 * @author zyc
 * @date 2024-08-14
 */
@Data
public class SiweiPointDetails {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;


    /**
     * 记录类型（1巡检 2维修 3查看异常）
     */
    @ApiModelProperty(value = "记录类型 （1巡检 2维修 3查看异常）")
    private String detailsType;

    /**
     * 记录图片
     */
    @ApiModelProperty(value = "记录图片")
    private String detailsImg;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    @ApiModelProperty(value = "时间数组(条件查询使用)")
    private List<String> date;

    private String beginTime;

    private String endTime;

    @ApiModelProperty(value = "点位id")
    private String ponitId;

    @ApiModelProperty(value = "用户id")
    private Long userId;



    @ApiModelProperty(value = "登录账号")
    private String loginName;

    @ApiModelProperty(value = "手机号码")
    private String phonenumber;

    @ApiModelProperty(value = "用于接收包含Base64字符串的请求体")
    private List<String> image;

    @ApiModelProperty(value = "检查单位")
    private String inspectUnit;

    @ApiModelProperty(value = "检查/排查日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String inspectDate;

    @ApiModelProperty(value = "责任单位")
    private String responsibilityUnit;

    @ApiModelProperty(value = "隐患等级")
    private String hazardLevel;

    @ApiModelProperty(value = "位置")
    private String address;

    @ApiModelProperty(value = "隐患描述")
    private String hazardDescription;

    @ApiModelProperty(value = "整改期限")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String rectificationDate;

    @ApiModelProperty(value = "整改情况")
    private String rectificationTerm;

    private String nickName;

    private String detalisNumber;

    @ApiModelProperty(value = "点位名称（巡检记录查询使用）")
    @Excel(name = "点位名称")
    private String pointName;

    @ApiModelProperty(value = "点位地址（巡检记录查询使用）")
    @Excel(name = "点位地址")
    private String pointAddress;

    @ApiModelProperty(value = "点位区段")
    @Excel(name = "点位区段")
    private String regionSection;

    @ApiModelProperty(value = "设备")
    @Excel(name = "设备")
    private String deviceNumber;

    /**
     * 记录详情
     */
    @ApiModelProperty(value = "记录详情")
    @Excel(name = "记录详情")
    private String details;
    @ApiModelProperty(value = "用户名称")
    @Excel(name = "用户名称")
    private String userName;

//    private List<MultipartFile> file;

    @ApiModelProperty(value = "视频ID")
    private String videoId;

    @ApiModelProperty(value = "视频地址")
    private String videoUrl;

    private Long deptId;

}
